import React from 'react';
import Home from '../home/Home'
import Mine from '../mine/Mine'
import { NavigationContainer } from '@react-navigation/native';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
const Tab = createBottomTabNavigator();
export default class Nav extends React.Component {
    constructor(props) {
        super(props);
        this.state = {}
    }
    componentDidMount() {

    }
    render() {
        return (
            <NavigationContainer>
                <Tab.Navigator screenOptions={{headerShown:false}}>
                    <Tab.Screen name="Home" component={Home} />
                    <Tab.Screen name="Mine" component={Mine} />
                </Tab.Navigator>
            </NavigationContainer>
        )
    }
  }